package net.sudot.chess.business.dto;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import net.sudot.chess.business.model.Game;
import net.sudot.chess.business.model.Room;

import java.io.Serializable;

/**
 * 游戏详情
 *
 * @author tangjialin on 2018-03-13.
 */
@Getter
@Setter
@Accessors(chain = true)
public class GameDetailDTO implements Serializable {
    /** 游戏信息 */
    private Game game;
    /** 房间信息 */
    private Room room;

    public GameDetailDTO() {
    }

    public GameDetailDTO(Game game, Room room) {
        this.game = game;
        this.room = room;
    }

}
